package com.gqmk.demo.springcloudapi.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data // getter\setter
@NoArgsConstructor // 无参构造
@Accessors(chain = true) // 链式访问操作 demo.setId().setName()
public class Demo implements Serializable {
    private Integer id;
    private String name;
    private BigDecimal money;
    private Date createDate;
    private Boolean isEnable;
}
